<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>MailConfig | @vertx/mail-client</title>
	<meta name="description" content="">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.js" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="../index.html" class="title">@vertx/mail-client</a>
				</div>
				<div class="table-cell" id="tsd-widgets">
					<div id="tsd-filter">
						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
						<div class="tsd-filter-group">
							<div class="tsd-select" id="tsd-filter-visibility">
								<span class="tsd-select-label">All</span>
								<ul class="tsd-select-list">
									<li data-value="public">Public</li>
									<li data-value="protected">Public/Protected</li>
									<li data-value="private" class="selected">All</li>
								</ul>
							</div>
							<input type="checkbox" id="tsd-filter-inherited" checked />
							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
							<input type="checkbox" id="tsd-filter-only-exported" />
							<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
						</div>
					</div>
					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../globals.html">Globals</a>
				</li>
				<li>
					<a href="mailconfig.html">MailConfig</a>
				</li>
			</ul>
			<h1>Class MailConfig</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel tsd-comment">
				<div class="tsd-comment tsd-typography">
					<div class="lead">
						<p>represents the configuration of a mail service with mail server hostname,
						port, security options, login options and login/password</p>
					</div>
					<dl class="tsd-comment-tags">
						<dt>author</dt>
						<dd><p><a href="http://oss.lehmann.cx/">Alexander Lehmann</a></p>
						</dd>
					</dl>
				</div>
			</section>
			<section class="tsd-panel tsd-hierarchy">
				<h3>Hierarchy</h3>
				<ul class="tsd-hierarchy">
					<li>
						<span class="target">MailConfig</span>
					</li>
				</ul>
			</section>
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section ">
							<h3>Constructors</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="mailconfig.html#constructor" class="tsd-kind-icon">constructor</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Methods</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mailconfig.html#getauthmethods" class="tsd-kind-icon">get<wbr>Auth<wbr>Methods</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mailconfig.html#gethostname" class="tsd-kind-icon">get<wbr>Hostname</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mailconfig.html#getkeystore" class="tsd-kind-icon">get<wbr>Key<wbr>Store</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mailconfig.html#getkeystorepassword" class="tsd-kind-icon">get<wbr>Key<wbr>Store<wbr>Password</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mailconfig.html#getlogin" class="tsd-kind-icon">get<wbr>Login</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mailconfig.html#getmaxpoolsize" class="tsd-kind-icon">get<wbr>Max<wbr>Pool<wbr>Size</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mailconfig.html#getownhostname" class="tsd-kind-icon">get<wbr>Own<wbr>Hostname</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mailconfig.html#getpassword" class="tsd-kind-icon">get<wbr>Password</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mailconfig.html#getport" class="tsd-kind-icon">get<wbr>Port</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mailconfig.html#getstarttls" class="tsd-kind-icon">get<wbr>Starttls</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mailconfig.html#getusername" class="tsd-kind-icon">get<wbr>Username</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mailconfig.html#isallowrcpterrors" class="tsd-kind-icon">is<wbr>Allow<wbr>Rcpt<wbr>Errors</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mailconfig.html#isdisableesmtp" class="tsd-kind-icon">is<wbr>Disable<wbr>Esmtp</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mailconfig.html#iskeepalive" class="tsd-kind-icon">is<wbr>Keep<wbr>Alive</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mailconfig.html#isssl" class="tsd-kind-icon">is<wbr>Ssl</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mailconfig.html#istrustall" class="tsd-kind-icon">is<wbr>Trust<wbr>All</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mailconfig.html#setallowrcpterrors" class="tsd-kind-icon">set<wbr>Allow<wbr>Rcpt<wbr>Errors</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mailconfig.html#setauthmethods" class="tsd-kind-icon">set<wbr>Auth<wbr>Methods</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mailconfig.html#setdisableesmtp" class="tsd-kind-icon">set<wbr>Disable<wbr>Esmtp</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mailconfig.html#sethostname" class="tsd-kind-icon">set<wbr>Hostname</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mailconfig.html#setkeepalive" class="tsd-kind-icon">set<wbr>Keep<wbr>Alive</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mailconfig.html#setkeystore" class="tsd-kind-icon">set<wbr>Key<wbr>Store</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mailconfig.html#setkeystorepassword" class="tsd-kind-icon">set<wbr>Key<wbr>Store<wbr>Password</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mailconfig.html#setlogin" class="tsd-kind-icon">set<wbr>Login</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mailconfig.html#setmaxpoolsize" class="tsd-kind-icon">set<wbr>Max<wbr>Pool<wbr>Size</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mailconfig.html#setownhostname" class="tsd-kind-icon">set<wbr>Own<wbr>Hostname</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mailconfig.html#setpassword" class="tsd-kind-icon">set<wbr>Password</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mailconfig.html#setport" class="tsd-kind-icon">set<wbr>Port</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mailconfig.html#setssl" class="tsd-kind-icon">set<wbr>Ssl</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mailconfig.html#setstarttls" class="tsd-kind-icon">set<wbr>Starttls</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mailconfig.html#settrustall" class="tsd-kind-icon">set<wbr>Trust<wbr>All</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mailconfig.html#setusername" class="tsd-kind-icon">set<wbr>Username</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Constructors</h2>
				<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class">
					<a name="constructor" class="tsd-anchor"></a>
					<h3>constructor</h3>
					<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">new <wbr>Mail<wbr>Config<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></li>
						<li class="tsd-signature tsd-kind-icon">new <wbr>Mail<wbr>Config<span class="tsd-signature-symbol">(</span>obj<span class="tsd-signature-symbol">: </span><a href="mailconfig.html" class="tsd-signature-type">MailConfig</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:160</li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:162</li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>obj: <a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></h4>
						</li>
					</ul>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Methods</h2>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="getauthmethods" class="tsd-anchor"></a>
					<h3>get<wbr>Auth<wbr>Methods</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Auth<wbr>Methods<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:195</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>set string of allowed auth methods.
										if set only these methods will be used
										if the server supports them. If null or empty all supported methods may be
									used</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="gethostname" class="tsd-anchor"></a>
					<h3>get<wbr>Hostname</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Hostname<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:248</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the hostname of the smtp server.</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="getkeystore" class="tsd-anchor"></a>
					<h3>get<wbr>Key<wbr>Store</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Key<wbr>Store<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:289</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>get the key store filename to be used when opening SMTP connections
										<p>
											if not set, an options object will be created based on other settings (ssl
										and trustAll)</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="getkeystorepassword" class="tsd-anchor"></a>
					<h3>get<wbr>Key<wbr>Store<wbr>Password</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Key<wbr>Store<wbr>Password<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:308</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>get the key store password to be used when opening SMTP connections</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="getlogin" class="tsd-anchor"></a>
					<h3>get<wbr>Login</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Login<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">LoginOption</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:326</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the login mode for the connection.
										<p>
										Either DISABLED, OPTIONAL or REQUIRED</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">LoginOption</span></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="getmaxpoolsize" class="tsd-anchor"></a>
					<h3>get<wbr>Max<wbr>Pool<wbr>Size</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Max<wbr>Pool<wbr>Size<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:344</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>set the max allowed number of open connections to the mail server
									if not set the default is 10</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
							<p>this to be able to use the object fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="getownhostname" class="tsd-anchor"></a>
					<h3>get<wbr>Own<wbr>Hostname</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Own<wbr>Hostname<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:360</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>set the hostname to be used for HELO/EHLO and the Message-ID</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="getpassword" class="tsd-anchor"></a>
					<h3>get<wbr>Password</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Password<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:376</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the password for the login.</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="getport" class="tsd-anchor"></a>
					<h3>get<wbr>Port</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Port<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:392</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the port of the smtp server.</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="getstarttls" class="tsd-anchor"></a>
					<h3>get<wbr>Starttls</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Starttls<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StartTLSOptions</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:426</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the tls security mode for the connection.
										<p>
										Either NONE, OPTIONAL or REQUIRED</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">StartTLSOptions</span></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="getusername" class="tsd-anchor"></a>
					<h3>get<wbr>Username</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Username<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:462</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the username for the login.</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="isallowrcpterrors" class="tsd-anchor"></a>
					<h3>is<wbr>Allow<wbr>Rcpt<wbr>Errors</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">is<wbr>Allow<wbr>Rcpt<wbr>Errors<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:173</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>set if sending allows rcpt errors
										<p>
											if true, the mail will be sent to the recipients that the server accepted, if any
											<p></p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
							<p>this to be able to use the object fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="isdisableesmtp" class="tsd-anchor"></a>
					<h3>is<wbr>Disable<wbr>Esmtp</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">is<wbr>Disable<wbr>Esmtp<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:223</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>set if ESMTP should be tried as first command (EHLO)
										<p>
											rfc 1869 states that clients should always attempt EHLO as first command to determine if ESMTP
											is supported, if this returns an error code, HELO is tried to use old SMTP.
											If there is a server that does not support EHLO and does not give an error code back, the connection
											should be closed and retried with HELO. We do not do that and rather support turning off ESMTP with a
											setting. The odds of this actually happening are very small since the client will not connect to arbitrary
											smtp hosts on the internet. Since the client knows that is connects to a host that doesn&#39;t support ESMTP/EHLO
											in that way, the property has to be set to false.
											<p></p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
							<p>this to be able to use the object fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="iskeepalive" class="tsd-anchor"></a>
					<h3>is<wbr>Keep<wbr>Alive</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">is<wbr>Keep<wbr>Alive<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:267</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>set if connection pool is enabled
										default is true
										<p>
											if the connection pooling is disabled, the max number of sockets is enforced nevertheless
											<p></p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
							<p>this to be able to use the object fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="isssl" class="tsd-anchor"></a>
					<h3>is<wbr>Ssl</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">is<wbr>Ssl<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:408</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the sslOnConnect mode for the connection.</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="istrustall" class="tsd-anchor"></a>
					<h3>is<wbr>Trust<wbr>All</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">is<wbr>Trust<wbr>All<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:445</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>set whether to trust all certificates on ssl connect the option is also
									applied to STARTTLS operation</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setallowrcpterrors" class="tsd-anchor"></a>
					<h3>set<wbr>Allow<wbr>Rcpt<wbr>Errors</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Allow<wbr>Rcpt<wbr>Errors<span class="tsd-signature-symbol">(</span>allowRcptErrors<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:184</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>set if sending allows rcpt errors
										<p>
											if true, the mail will be sent to the recipients that the server accepted, if any
											<p></p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>allowRcptErrors: <span class="tsd-signature-type">boolean</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>the allowRcptErrors to set (default is false)</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></h4>
							<p>this to be able to use the object fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setauthmethods" class="tsd-anchor"></a>
					<h3>set<wbr>Auth<wbr>Methods</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Auth<wbr>Methods<span class="tsd-signature-symbol">(</span>authMethods<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:206</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>set string of allowed auth methods.
										if set only these methods will be used
										if the server supports them. If null or empty all supported methods may be
									used</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>authMethods: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>the authMethods to set</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setdisableesmtp" class="tsd-anchor"></a>
					<h3>set<wbr>Disable<wbr>Esmtp</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Disable<wbr>Esmtp<span class="tsd-signature-symbol">(</span>disableEsmtp<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:240</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>set if ESMTP should be tried as first command (EHLO)
										<p>
											rfc 1869 states that clients should always attempt EHLO as first command to determine if ESMTP
											is supported, if this returns an error code, HELO is tried to use old SMTP.
											If there is a server that does not support EHLO and does not give an error code back, the connection
											should be closed and retried with HELO. We do not do that and rather support turning off ESMTP with a
											setting. The odds of this actually happening are very small since the client will not connect to arbitrary
											smtp hosts on the internet. Since the client knows that is connects to a host that doesn&#39;t support ESMTP/EHLO
											in that way, the property has to be set to false.
											<p></p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>disableEsmtp: <span class="tsd-signature-type">boolean</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>the disableEsmtp to set (default is true)</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></h4>
							<p>this to be able to use the object fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="sethostname" class="tsd-anchor"></a>
					<h3>set<wbr>Hostname</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Hostname<span class="tsd-signature-symbol">(</span>hostname<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:256</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the hostname of the smtp server.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>hostname: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>the hostname (default is localhost)</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setkeepalive" class="tsd-anchor"></a>
					<h3>set<wbr>Keep<wbr>Alive</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Keep<wbr>Alive<span class="tsd-signature-symbol">(</span>keepAlive<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:278</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>set if connection pool is enabled
										default is true
										<p>
											if the connection pooling is disabled, the max number of sockets is enforced nevertheless
											<p></p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>keepAlive: <span class="tsd-signature-type">boolean</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></h4>
							<p>this to be able to use the object fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setkeystore" class="tsd-anchor"></a>
					<h3>set<wbr>Key<wbr>Store</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Key<wbr>Store<span class="tsd-signature-symbol">(</span>keyStore<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:300</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>get the key store filename to be used when opening SMTP connections
										<p>
											if not set, an options object will be created based on other settings (ssl
										and trustAll)</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>keyStore: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>the key store filename to be set</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setkeystorepassword" class="tsd-anchor"></a>
					<h3>set<wbr>Key<wbr>Store<wbr>Password</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Key<wbr>Store<wbr>Password<span class="tsd-signature-symbol">(</span>keyStorePassword<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:316</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>get the key store password to be used when opening SMTP connections</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>keyStorePassword: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>the key store passwords to be set</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setlogin" class="tsd-anchor"></a>
					<h3>set<wbr>Login</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Login<span class="tsd-signature-symbol">(</span>login<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">LoginOption</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:336</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the login mode for the connection.
										<p>
										Either DISABLED, OPTIONAL or REQUIRED</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>login: <span class="tsd-signature-type">LoginOption</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>(default is OPTIONAL)</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setmaxpoolsize" class="tsd-anchor"></a>
					<h3>set<wbr>Max<wbr>Pool<wbr>Size</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Max<wbr>Pool<wbr>Size<span class="tsd-signature-symbol">(</span>maxPoolSize<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:352</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>set the max allowed number of open connections to the mail server
									if not set the default is 10</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>maxPoolSize: <span class="tsd-signature-type">number</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></h4>
							<p>this to be able to use the object fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setownhostname" class="tsd-anchor"></a>
					<h3>set<wbr>Own<wbr>Hostname</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Own<wbr>Hostname<span class="tsd-signature-symbol">(</span>ownHostname<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:368</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>set the hostname to be used for HELO/EHLO and the Message-ID</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>ownHostname: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>my own hostname to set</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setpassword" class="tsd-anchor"></a>
					<h3>set<wbr>Password</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Password<span class="tsd-signature-symbol">(</span>password<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:384</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the password for the login.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>password: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>the password</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setport" class="tsd-anchor"></a>
					<h3>set<wbr>Port</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Port<span class="tsd-signature-symbol">(</span>port<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:400</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the port of the smtp server.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>port: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>the port (default is 25)</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setssl" class="tsd-anchor"></a>
					<h3>set<wbr>Ssl</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Ssl<span class="tsd-signature-symbol">(</span>ssl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:416</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the sslOnConnect mode for the connection.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>ssl: <span class="tsd-signature-type">boolean</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>true is ssl is used</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setstarttls" class="tsd-anchor"></a>
					<h3>set<wbr>Starttls</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Starttls<span class="tsd-signature-symbol">(</span>starttls<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StartTLSOptions</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:436</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the tls security mode for the connection.
										<p>
										Either NONE, OPTIONAL or REQUIRED</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>starttls: <span class="tsd-signature-type">StartTLSOptions</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>(default is OPTIONAL)</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="settrustall" class="tsd-anchor"></a>
					<h3>set<wbr>Trust<wbr>All</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Trust<wbr>All<span class="tsd-signature-symbol">(</span>trustAll<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:454</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>set whether to trust all certificates on ssl connect the option is also
									applied to STARTTLS operation</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>trustAll: <span class="tsd-signature-type">boolean</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>trust all certificates</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setusername" class="tsd-anchor"></a>
					<h3>set<wbr>Username</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Username<span class="tsd-signature-symbol">(</span>username<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:470</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the username for the login.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>username: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>the username</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mailconfig.html" class="tsd-signature-type">MailConfig</a></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class="globals  ">
						<a href="../globals.html"><em>Globals</em></a>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
					<li class=" tsd-kind-class">
						<a href="mailattachment.html" class="tsd-kind-icon">Mail<wbr>Attachment</a>
					</li>
					<li class=" tsd-kind-class">
						<a href="mailclient.html" class="tsd-kind-icon">Mail<wbr>Client</a>
					</li>
				</ul>
				<ul class="current">
					<li class="current tsd-kind-class">
						<a href="mailconfig.html" class="tsd-kind-icon">Mail<wbr>Config</a>
						<ul>
							<li class=" tsd-kind-constructor tsd-parent-kind-class">
								<a href="mailconfig.html#constructor" class="tsd-kind-icon">constructor</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mailconfig.html#getauthmethods" class="tsd-kind-icon">get<wbr>Auth<wbr>Methods</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mailconfig.html#gethostname" class="tsd-kind-icon">get<wbr>Hostname</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mailconfig.html#getkeystore" class="tsd-kind-icon">get<wbr>Key<wbr>Store</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mailconfig.html#getkeystorepassword" class="tsd-kind-icon">get<wbr>Key<wbr>Store<wbr>Password</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mailconfig.html#getlogin" class="tsd-kind-icon">get<wbr>Login</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mailconfig.html#getmaxpoolsize" class="tsd-kind-icon">get<wbr>Max<wbr>Pool<wbr>Size</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mailconfig.html#getownhostname" class="tsd-kind-icon">get<wbr>Own<wbr>Hostname</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mailconfig.html#getpassword" class="tsd-kind-icon">get<wbr>Password</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mailconfig.html#getport" class="tsd-kind-icon">get<wbr>Port</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mailconfig.html#getstarttls" class="tsd-kind-icon">get<wbr>Starttls</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mailconfig.html#getusername" class="tsd-kind-icon">get<wbr>Username</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mailconfig.html#isallowrcpterrors" class="tsd-kind-icon">is<wbr>Allow<wbr>Rcpt<wbr>Errors</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mailconfig.html#isdisableesmtp" class="tsd-kind-icon">is<wbr>Disable<wbr>Esmtp</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mailconfig.html#iskeepalive" class="tsd-kind-icon">is<wbr>Keep<wbr>Alive</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mailconfig.html#isssl" class="tsd-kind-icon">is<wbr>Ssl</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mailconfig.html#istrustall" class="tsd-kind-icon">is<wbr>Trust<wbr>All</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mailconfig.html#setallowrcpterrors" class="tsd-kind-icon">set<wbr>Allow<wbr>Rcpt<wbr>Errors</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mailconfig.html#setauthmethods" class="tsd-kind-icon">set<wbr>Auth<wbr>Methods</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mailconfig.html#setdisableesmtp" class="tsd-kind-icon">set<wbr>Disable<wbr>Esmtp</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mailconfig.html#sethostname" class="tsd-kind-icon">set<wbr>Hostname</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mailconfig.html#setkeepalive" class="tsd-kind-icon">set<wbr>Keep<wbr>Alive</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mailconfig.html#setkeystore" class="tsd-kind-icon">set<wbr>Key<wbr>Store</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mailconfig.html#setkeystorepassword" class="tsd-kind-icon">set<wbr>Key<wbr>Store<wbr>Password</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mailconfig.html#setlogin" class="tsd-kind-icon">set<wbr>Login</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mailconfig.html#setmaxpoolsize" class="tsd-kind-icon">set<wbr>Max<wbr>Pool<wbr>Size</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mailconfig.html#setownhostname" class="tsd-kind-icon">set<wbr>Own<wbr>Hostname</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mailconfig.html#setpassword" class="tsd-kind-icon">set<wbr>Password</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mailconfig.html#setport" class="tsd-kind-icon">set<wbr>Port</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mailconfig.html#setssl" class="tsd-kind-icon">set<wbr>Ssl</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mailconfig.html#setstarttls" class="tsd-kind-icon">set<wbr>Starttls</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mailconfig.html#settrustall" class="tsd-kind-icon">set<wbr>Trust<wbr>All</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mailconfig.html#setusername" class="tsd-kind-icon">set<wbr>Username</a>
							</li>
						</ul>
					</li>
				</ul>
				<ul class="after-current">
					<li class=" tsd-kind-class">
						<a href="mailmessage.html" class="tsd-kind-icon">Mail<wbr>Message</a>
					</li>
					<li class=" tsd-kind-class">
						<a href="mailresult.html" class="tsd-kind-icon">Mail<wbr>Result</a>
					</li>
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer class="with-border-bottom">
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-module"><span class="tsd-kind-icon">Module</span></li>
				<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
				<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
				<li class="tsd-kind-index-signature"><span class="tsd-kind-icon">Index signature</span></li>
				<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
				<li class="tsd-kind-enum-member"><span class="tsd-kind-icon">Enumeration member</span></li>
				<li class="tsd-kind-property tsd-parent-kind-enum"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-enum"><span class="tsd-kind-icon">Method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
				<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
				<li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
				<li class="tsd-kind-index-signature tsd-parent-kind-interface"><span class="tsd-kind-icon">Index signature</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
				<li class="tsd-kind-index-signature tsd-parent-kind-class"><span class="tsd-kind-icon">Index signature</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
				<li class="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="container tsd-generator">
	<p>Generated using <a href="http://typedoc.org/" target="_blank">TypeDoc</a></p>
</div>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
<script>if (location.protocol == 'file:') document.write('<script src="../assets/js/search.js"><' + '/script>');</script>
</body>
</html>